/* user.h */

#ifndef USER_H_
#define USER_H_




typedef struct user_database{
	FILE *user_file;
}user_database_t;


user_database_t *user_database_open(const char * path);
int user_database_close(user_database_t * base);

int check_user(user_database_t *base, const char *name, const char *pwd);

//int find_name_by_id(user_database_t *base, int id, char *buf);

#endif /* USER_H_ */
